#include "udp.h"

#include "unistd.h"
#include "stdio.h"
#include "string.h"
#include "malloc.h"

int main(int argc, char const *argv[])
{
	diff_t *diff=malloc(sizeof(diff_t)+MAX_LEN_ONCE);
    memset((void *)diff,0,sizeof(diff_t)+MAX_LEN_ONCE);
	
	UdpServerInit();
	UdpServerLoop(diff,1);
	free(diff);
	return 0;
}